package com.tjmc.tiomscore.dao;

import com.tjmc.tiomscore.model.TranPtnHwSnn;
import com.tjmc.tiomscore.model.TranPtnHwSnnExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TranPtnHwSnnMapper extends TranPtnHwSuperMapper<TranPtnHwSnn> {
    long countByExample(TranPtnHwSnnExample example);

    int deleteByExample(TranPtnHwSnnExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TranPtnHwSnn record);

    int insertSelective(TranPtnHwSnn record);

    List<TranPtnHwSnn> selectByExample(TranPtnHwSnnExample example);

    TranPtnHwSnn selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TranPtnHwSnn record, @Param("example") TranPtnHwSnnExample example);

    int updateByExample(@Param("record") TranPtnHwSnn record, @Param("example") TranPtnHwSnnExample example);

    int updateByPrimaryKeySelective(TranPtnHwSnn record);

    int updateByPrimaryKey(TranPtnHwSnn record);
}